﻿using System;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            int[][] md = new int[3][];
            md[0] = new int[2] { 0, 1 };
            md[1] = new int[5] { 2, 3, 4, 5, 6 };
            md[2] = new int[3] { 7, 8, 9 };
            //int[][] b = new int[3][] { new int[] { 0, 1 }, new int[] { 2, 3, 4, 5, 6 }, new int[] { 7, 8, 9 }};
            foreach (int[] s in md)
            {
                foreach (int i in s)
                {
                    Console.Write("{0},", i);
                }
                Console.WriteLine("");
            }
                
            Console.ReadKey();
        }
    }
}
